.class Lrexsee/network/RexseeWiFi$1;
.super Landroid/content/BroadcastReceiver;
.source "RexseeWiFi.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lrexsee/network/RexseeWiFi;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lrexsee/network/RexseeWiFi;


# direct methods
.method constructor <init>(Lrexsee/network/RexseeWiFi;)V
    .locals 0

    .prologue
    .line 1
    iput-object p1, p0, Lrexsee/network/RexseeWiFi$1;->this$0:Lrexsee/network/RexseeWiFi;

    .line 56
    invoke-direct {p0}, Landroid/content/BroadcastReceiver;-><init>()V

    return-void
.end method


# virtual methods
.method public onReceive(Landroid/content/Context;Landroid/content/Intent;)V
    .locals 6
    .param p1, "context"    # Landroid/content/Context;
    .param p2, "intent"    # Landroid/content/Intent;

    .prologue
    const/4 v3, -0x1

    .line 59
    const-string v2, "wifi_state"

    invoke-virtual {p2, v2, v3}, Landroid/content/Intent;->getIntExtra(Ljava/lang/String;I)I

    move-result v2

    # invokes: Lrexsee/network/RexseeWiFi;->_getWiFiState(I)Ljava/lang/String;
    invoke-static {v2}, Lrexsee/network/RexseeWiFi;->access$0(I)Ljava/lang/String;

    move-result-object v1

    .line 60
    .local v1, "state":Ljava/lang/String;
    const-string v2, "previous_wifi_state"

    invoke-virtual {p2, v2, v3}, Landroid/content/Intent;->getIntExtra(Ljava/lang/String;I)I

    move-result v2

    # invokes: Lrexsee/network/RexseeWiFi;->_getWiFiState(I)Ljava/lang/String;
    invoke-static {v2}, Lrexsee/network/RexseeWiFi;->access$0(I)Ljava/lang/String;

    move-result-object v0

    .line 61
    .local v0, "previousState":Ljava/lang/String;
    iget-object v2, p0, Lrexsee/network/RexseeWiFi$1;->this$0:Lrexsee/network/RexseeWiFi;

    # getter for: Lrexsee/network/RexseeWiFi;->mBrowser:Lrexsee/core/browser/Browser;
    invoke-static {v2}, Lrexsee/network/RexseeWiFi;->access$1(Lrexsee/network/RexseeWiFi;)Lrexsee/core/browser/Browser;

    move-result-object v2

    iget-object v2, v2, Lrexsee/core/browser/Browser;->eventList:Lrexsee/core/browser/clazz/EventList;

    const-string v3, "onWiFiStateChanged"

    const/4 v4, 0x2

    new-array v4, v4, [Ljava/lang/String;

    const/4 v5, 0x0

    aput-object v1, v4, v5

    const/4 v5, 0x1

    aput-object v0, v4, v5

    invoke-virtual {v2, v3, v4}, Lrexsee/core/browser/clazz/EventList;->run(Ljava/lang/String;[Ljava/lang/String;)V

    .line 62
    return-void
.end method
